#ifndef __JY61P_H
#define __JY61P_H

#include "main.h" 

void jy61p_ReceiveData(uint8_t RxData);

extern float Roll,Pitch,Yaw;
extern float Gyro_X,Gyro_Y,Gyro_Z;
extern float Acc_X,Acc_Y,Acc_Z;

extern short X,Y;
struct SAcc
{

    short a[3];

    short T;

};
struct SGyro
{
    short w[3];
    short T;
};
struct SQs
{
    short q[4];
};

extern struct SGyro stcGyro;
extern struct SAcc stcAcc;
extern struct SQs stcQs;

#endif
